<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:rich="http://richfaces.org/rich"
    xmlns:a4j="http://richfaces.org/a4j"
    xmlns:fb="http://ogp.me/ns/fb#"
    xmlns:cs="http://java.sun.com/jsf/composite/composite">

<ui:composition template="/resources/jsf/component/include/default.xhtml">
    
    <ui:define name="head">
        <ui:include src="/resources/jsf/component/composition/system/css/default.xhtml" />
        <ui:include src="/resources/jsf/component/composition/system/javascript/fancyBox.xhtml" />
    </ui:define>
    
    <ui:define name="left-content" >
        <ui:include src="/resources/jsf/component/composition/system/profile/owner-product-profile.xhtml" />
    </ui:define>

    <ui:define name="content">
        <cs:tweet 
            url="system/product?p=#{searchc.product.id}"
            text="#{searchc.product.operation.operation} de #{searchc.product.name}"
        />
        <fb:like href="http://suaparte.org/system/product?p=#{searchc.product.id}" send="true" layout="button_count" width="450" show_faces="true" font="lucida grande"></fb:like>
        
        <ui:include src="/resources/jsf/component/composition/user/product/view-product.xhtml" />
        <p><h:link outcome="/system/results" value="Voltar" /></p>
    </ui:define> 
        
    <ui:define name="right-content" >
    </ui:define>

</ui:composition>
</html>